package cn.cvs.dao;

import cn.cvs.pojo.ElectronicManager;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class ElectronicManagerMapperImpl implements ElectronicManagerMapper{

    @Autowired
    private SqlSessionTemplate sqlSessionTemplate;

    public List<ElectronicManager> searchElectronic(){
        return sqlSessionTemplate.selectList("cn.electronicManager.dao.ElectronicManagerMapper.searchElectronic");
    }
}
